<?php

defined('_JEXEC') or die;

jimport('joomla.application.component.controllerform');


class CouponsControllerShop extends JControllerForm
{ 
        protected $text_prefix = 'COM_COUPONS_SHOPS';
                
	public function batch($model = null)
	{
		JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));

		// Set the model
		$model = $this->getModel('Shop', '', array());

		// Preset the redirect
		$this->setRedirect(JRoute::_('index.php?option=com_coupons&view=shops'. $this->getRedirectToListAppend(),false));

		return parent::batch($model);
	}
}
